package edu.berkeley.cs160.innovationers.shoppersidekick;

public class Item {
	int Quantity;
	String Name;
	User user;
	
	public Item(String N){
		Name=new String(N);
		Quantity=1;
	}
	
	public Item(String N,int Q){
		Name=new String(N);
		Quantity=Q;
	}
	public Item(String N, int Q, User user){
		Name=new String(N);
		Quantity=Q;
		
	}
	
	public int getQty(){
		return Quantity;
	}
	
	public String getName(){
		return Name;
	}
	
	public User getUser(){
		return user;
	}
	
	public void changeQty(int NewQty){
		Quantity=NewQty;
	}
	
	public void changeName(String NewName){
		Name=new String(NewName);
	}
	

	
}
